package cn.comon.app.scan.service.analysis.impl;

import java.util.Properties;
import net.sf.json.JSONObject;
import org.apache.log4j.Logger;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import cn.comon.app.scan.service.analysis.IAnalysisRequest;

/**
 * 腾讯安全管家软件检测接口
 * @author xujf
 *
 */
@Service("defaultRequestImpl")
@Scope("prototype")
@Lazy(value=true)
public class DefaultAnalysisRequestImpl implements IAnalysisRequest {
    private static Logger logger = Logger.getLogger(DefaultAnalysisRequestImpl.class.getName());

    public Object getSendData(Properties params, Object asReportinfo) {
        try {
            // 腾讯接口数据
            JSONObject sendData = new JSONObject();
            return sendData;
       } catch (Exception e) {
    	   logger.error(e);
            e.printStackTrace();
            return null;
        }
    }
}